main {
  margin: 0 auto;
}
main .product-detail {
  position: relative;
  text-align: center;
}
main .product-detail li {
  float: left;
  width: 50%;
  padding: 3px;
}
main .product-detail li > div {
  background: #fff;
  border: 1px solid #eee;
  position: relative;
}
main .product-detail li .product-img img {
  width: 100%;
  height: 8rem;
}
main .product-detail li .product-name {
  text-align: left;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0.5rem;
  line-height: 28px;
}
main .product-detail li .product-price {
  text-align: left;
  font-size: 1rem;
  color: orange;
  padding-left: 5px;
  line-height: 28px;
}
main .product-detail li .product-price em {
  font-size: 12px;
}
main .product-detail li .toBuy {
  position: absolute;
  width: 60px;
  height: 30px;
  background: orange;
  bottom: 2px;
  right: 5px;
  line-height: 30px;
  color: #fff;
  border-radius: 5px;
}
